﻿<phone:PhoneApplicationPage
    x:Class="OpenThesaurus.Info"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:phone="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone"
    xmlns:shell="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    FontFamily="{StaticResource PhoneFontFamilyNormal}"
    FontSize="{StaticResource PhoneFontSizeNormal}"
    Foreground="{StaticResource PhoneForegroundBrush}"
    SupportedOrientations="Portrait" Orientation="Portrait"
    mc:Ignorable="d"
    shell:SystemTray.IsVisible="True">

    <!--LayoutRoot ist das Stammraster, in dem alle anderen Seiteninhalte platziert werden-->
    <Grid x:Name="LayoutRoot" Background="Transparent">
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="*"/>
        </Grid.RowDefinitions>

        <!--TitlePanel enthält den Namen der Anwendung und den Seitentitel-->
        <StackPanel Grid.Row="0" Margin="12,17,0,28">
            <TextBlock x:Name="txtTitle" Text="Info &amp; Copyright" Style="{StaticResource PhoneTextTitle1Style}" FontSize="64" Margin="0"/>
        </StackPanel>
        <ScrollViewer VerticalAlignment="Top" Grid.Row="1">
        	<Grid x:Name="ContentPanel">
        		<Grid.RowDefinitions>
        			<RowDefinition/>
        			<RowDefinition/>
        			<RowDefinition/>
        			<RowDefinition/>
        			<RowDefinition/>
        			<RowDefinition/>
        			<RowDefinition/>
        			<RowDefinition/>
        			<RowDefinition/>
        		</Grid.RowDefinitions>
        		<Grid.ColumnDefinitions>
        			<ColumnDefinition/>
        			<ColumnDefinition Width="Auto"/>
        		</Grid.ColumnDefinitions>
        		<TextBlock x:Name="txtInfoTop" TextWrapping="Wrap" Text="{Binding LocalizedResources.AppInfoText, Mode=OneWay, Source={StaticResource LocalizedStrings}}" VerticalAlignment="Center" HorizontalAlignment="Center" Grid.ColumnSpan="2" Margin="12,0,11,15" TextAlignment="Center"/>
        		<HyperlinkButton x:Name="hlOpenThesaurus" Content="http://openthesaurus.de" HorizontalAlignment="Center" VerticalAlignment="Center" Grid.ColumnSpan="2" Grid.Row="1" NavigateUri="http://www.openthesaurus.de" TargetName="_blank" Margin="0,0,0,25"/>
        		<TextBlock x:Name="txtCopyrightHinweis" HorizontalAlignment="Center" TextWrapping="Wrap" Text="{Binding LocalizedResources.CopyrightText, Mode=OneWay, Source={StaticResource LocalizedStrings}}" VerticalAlignment="Center" Grid.Row="2" Margin="0,0,0,10" FontWeight="Bold" Grid.ColumnSpan="2" TextDecorations="Underline"/>
        		<Image x:Name="imgCopyright1" HorizontalAlignment="Center" VerticalAlignment="Center" Grid.Row="3" Source="/Assets/24059_original_R_by_Claudia Hautumm_pixelio.de_edited.jpg" MaxWidth="150" MaxHeight="150" Margin="0,10"/>
        		<HyperlinkButton x:Name="hlCopyright1" Content="Claudia Hautumm / pixelio.de" HorizontalAlignment="Center" VerticalAlignment="Center" TargetName="_blank" NavigateUri="http://www.pixelio.de/media/24059" Grid.Row="3" Grid.Column="1" FontSize="18.667"/>
        		<Image x:Name="imgCopyright2" HorizontalAlignment="Center" VerticalAlignment="Center" Grid.Row="4" Source="/ApplicationIcon.png" MaxWidth="150" MaxHeight="150" Margin="0,10"/>
        		<HyperlinkButton x:Name="hlCopyright2" Content="Daniel Naber" HorizontalAlignment="Center" VerticalAlignment="Center" TargetName="_blank" NavigateUri="https://github.com/danielnaber/openthesaurus/tree/master/logo-material" Grid.Row="4" Grid.Column="1" FontSize="18.667"/>
        		<Image x:Name="imgCopyright3" HorizontalAlignment="Center" VerticalAlignment="Center" Grid.Row="5" Source="/Assets/openthesaurus-logo.png" MaxWidth="150" MaxHeight="150" Margin="0,10"/>
        		<HyperlinkButton x:Name="hlCopyright3" Content="Daniel Naber" HorizontalAlignment="Center" VerticalAlignment="Center" TargetName="_blank" NavigateUri="https://github.com/danielnaber/openthesaurus/tree/master/logo-material" Grid.Row="5" Grid.Column="1" FontSize="18.667"/>
        		<TextBlock x:Name="txtInfoRepository" HorizontalAlignment="Center" Grid.Row="6" TextWrapping="Wrap" Text="{Binding LocalizedResources.RepositoryText, Mode=OneWay, Source={StaticResource LocalizedStrings}}" VerticalAlignment="Bottom" Grid.ColumnSpan="2" Margin="0,10,0,0"/>
        		<HyperlinkButton x:Name="hlRepository" Content="https://openthesaurus.codeplex.com " VerticalAlignment="Top" NavigateUri="https://openthesaurus.codeplex.com " TargetName="_blank" Grid.Row="7" Grid.ColumnSpan="2" FontSize="18.667" HorizontalAlignment="Center"/>

        	</Grid>
        </ScrollViewer>

        <!--ContentPanel - zusätzliche Inhalte hier platzieren-->
    </Grid>

</phone:PhoneApplicationPage>